<!-- Main Sidebar Container -->
<aside class="main-sidebar sidebar-dark-primary elevation-4 ">
  <!-- Brand Logo -->
  <a href="index3.html" class="brand-link">
    <img src="/static/AdminLTE-3.0.5/dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3"
      style="opacity: .8">
    <span class="brand-text font-weight-light">管理系统</span>
  </a>

  <!-- Sidebar -->
  <div class="sidebar">
  
    <!-- Sidebar Menu -->
    <nav class="mt-2">
      <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
      
        <!-- Add icons to the links using the .nav-icon class
               with font-awesome or any other icon font library -->
       
            <li class="nav-item">
              <a href="/dashboard/" class="nav-link">
                <i class="nav-icon fa fa-dashboard"></i>
                <p>Dashboard</p>
              </a>
            </li>
        
     



  <li class="nav-item has-treeview">
    <a href="/hosts/" class="nav-link">

      <i class="nav-icon fa fa-laptop"></i>
      <p>
        主机管理
        <i class="right fa fa-angle-left"></i>
      </p>
    </a>
    <ul class="nav nav-treeview">

      <li class="nav-item">
          <a href="{% url 'core:hosts' %}"   class="nav-link">
          <i class="fa  nav-icon"></i>
          <p>主机列表
           
          </p>
        </a>
      </li>
<!-- 
      <li class="nav-item navbar-right">
        <a href="{% url 'core:hosts' %}" class="nav-link">
      <i class="fa  nav-icon"></i>
          <p>系统用户</p>
      
        </a>
      </li> -->

    </ul>
  </li>



      
      <!-- <li class="nav-item">
        <a href="/general/" class="nav-link">
          <i class="nav-icon fa fa-database"></i>
          <p>基本设置</p>
        </a>
      </li> -->

            <li class="nav-item">
              <a href="/admin/" class="nav-link">
                <i class="nav-icon fa fa-cogs"></i>
                <p>管理后台</p>
              </a>
            </li>

        
      </ul>
    </nav>
    <!-- /.sidebar-menu -->

  </div>

  <!-- /.sidebar -->
</aside>